﻿using System;

using Microsoft.Xna.Framework;

namespace xEngine.DataTypes
{
    public class PointF
    {
        #region Properties

        public float X { get; private set; }
        public float Y { get; private set; }

        #endregion

        #region Functions

        public Vector2 ToVector2()
        {
            return new Vector2(X, Y);
        }

        #endregion

        #region Constructors

        public PointF(float x, float y)
        {
            X = x;
            Y = y;
        }

        #endregion
    }
}
